package com.vhall.component.entity.inav.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * 无法上麦请求参数
 *
 * @author yuanzh
 * @since 2021/9/15
 */
@Data
public class UnableSpeakReqVO implements Serializable {

    private static final long serialVersionUID = -3639297165438738311L;

    @NotBlank(message = "room_id不能为空")
    @Pattern(regexp = "[0-9a-zA-Z_]{1,32}", message = "room_id格式不正确")
    @ParamName("room_id")
    private String roomId;

}
